package com.component.api.model.param;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 描述：
 * 组件端口属性
 * 和json中ports对应
 * @author xianggj
 * @Date 2021/11/25 13:49
 **/
@Data
@NoArgsConstructor
public class Port implements Serializable {

    private static final long serialVersionUID = -1L;

    private String cnName;

    private String name;

    private String dataTypeDesc;

    private String dataType;

    public static final transient Integer IN = 1;
    public static final transient Integer OUT = 2;
    private Integer type;

    private String description;
}
